#ifndef __TRACKER__
#define __TRACKER__

struct Tracker {
  struct HashTable * hashTable;
  char ip[4];
  /* ... */
}

int decodeMessage(char ** buffer);
void setPort(struct Tracker * t);
void connect(char * name);

// Look
struct File * getFileList(struct Tracker * t, char * params, ...);

// GetFile
struct PeerList * getPeers(struct Tracker * t, char * key);
void updateNetwork(struct PeerList * pl);

#endif
